import Vue from 'vue';
import ElementUI from 'element-ui';
// import reactElement from 'element-react';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import * as echarts from 'echarts'
// import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import 'element-theme-default';
import router from './router'
import {instance, get, post, postForm} from './Utils/axios'


Vue.prototype.$echarts = echarts

Vue.prototype.$http = instance
Vue.prototype.$get = get
Vue.prototype.$post = post
Vue.prototype.$postFrom = postForm
// Vue.use(reactElement);
Vue.use(ElementUI);
// Vue.use(Antd)
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
// new Vue({
//   el: '#app',
//   router,
//   components: { App },
//   template: '<App/>'
// })